package com.gxa.pingan.pojo;

import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Api("用户的投保险种")
public class UserInsKind implements Serializable {

    /**
     * 这个id主要是为了联系保险管理表里面的Id
     */
    private Long oid;
    /**
     * 保险种类
     */
    private  String type;
    /**
     * 保额
     */
    private Long coverage;
    /**
     * 保费金额
     */
    private Long premiums;
    /**
     * 含不计免赔
     */
    private  boolean has;

    public UserInsKind(String type, Long coverage, Long premiums, boolean has) {
        this.type = type;
        this.coverage = coverage;
        this.premiums = premiums;
        this.has = has;
    }
}
